package com.juxing.service.imCenter.dao.impl;

import org.springframework.stereotype.Repository;

import com.juxing.service.imCenter.bean.UserRcTokenBean;
import com.juxing.service.imCenter.dao.IUserRcTokenDao;
import com.juxing.service.liveCenter.dao.impl.AbstractBaseDao;

@Repository
public class UserRcTokenDaoImpl extends AbstractBaseDao implements IUserRcTokenDao {

	@Override
	public void insert(UserRcTokenBean bean) {
		this.insert("UserRcToken.insert", bean);
	}
	@Override
	public UserRcTokenBean queryByUserId(int userId) {
		return this.selectOne("UserRcToken.queryByUserId", userId);
	}
	@Override
	public void update(UserRcTokenBean bean) {
		this.update("UserRcToken.update", bean);
	}
}